package edu.zut.cs.software.cms.module.information.web.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import edu.zut.cs.software.cms.base.web.spring.controller.GenericController;
import edu.zut.cs.software.cms.module.information.domain.InformationTeacher;
import edu.zut.cs.software.cms.module.information.service.InformationTeacherManager;

/**
 * 
 * @author 42276
 *
 */
@Controller
@RequestMapping("/informationteacher")
public class InformationTeacherController extends GenericController<InformationTeacher, Long, InformationTeacherManager> {
	InformationTeacherManager informationTeacherManager;

	@RequestMapping(method = RequestMethod.GET, value = "/index.html")
	public String index() {
		String result = "/clazz/index";
		return result;
	}

	@Autowired
	public void setInformationTeacherManager(InformationTeacherManager informationTeacherManager) {
		this.informationTeacherManager = informationTeacherManager;
		this.manager = this.informationTeacherManager;
	}
}